package com.lzk.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lzk.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor

@TableName("sys_order")
public class SysOrder extends BaseEntity {


    @ApiModelProperty(value = "产品id")
    @TableField("product_id")
    private String pId;

    @ApiModelProperty(value = "产品数量")
    @TableField("product_count")
    private String pCount;

    @ApiModelProperty(value = "订单状态")
    @TableField("order_status")
    private Integer  orderStatus;

     @ApiModelProperty(value = "下单时间")
     @TableField("order_time")
     private LocalDateTime orderTime;

     @ApiModelProperty(value = "用户id")
     @TableField("user_id")
     private long uId;

    @TableField(exist = false)
    private String  uName;

    @TableField(exist = false)
    private List<String>  pName;

    @TableField(exist = false)
    private String  oStatus;


}

